package com.song.jd.shiro.service;

import java.util.Set;

import org.springframework.stereotype.Service;

import com.song.jd.shiro.bean.User;

@Service
public class UserService {
	
	public User createUser(User user)
	{
		return null;
	}
	
	public Set<String> findRoles(String usernane)
	{
		return null;
	}
	
	public Set<String> findPermissions(String username)
	{
		return null;
	}
	
	public User findByUsername(String username)
	{
		User user = new User();
		user.setUserName("admin");
		user.setPassWord("1111");
		return user;
	}
	
}
